﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace TestGenerator
{
    class TestMaker
    {
        static void Main()
        {
            try
            {
                Settings.SetINIPath("TestGenerator.ini");
                GenerateTest generator = new GenerateTest();
                generator.GenerateTests();
            }
            catch (IOException)
            {
                Console.WriteLine("Invalid file name.");
            }
            catch (ArgumentException a)
            {
                Console.WriteLine(a.Message);
            }
        }
    }
}
